import React from "react";
import {useNavigate} from 'react-router-dom'
import { NavBar, Toast, Empty, Button } from "react-vant";
import "./index.css";
const Index: React.FC = () => {
  const navigate=useNavigate()
  return (
    <div>
      <NavBar title="历史问诊" onClickLeft={() => navigate(-1)} />
      <Empty description="暂无问诊" />
      <div className="btnw">
        <Button type="primary" block round onClick={() => navigate(-1)}>
          返回
        </Button>
      </div>
    </div>
  );
};
export default Index;
